package com.bwie.service.impl;

import com.bwie.service.IProductService;
import com.bwie.utils.R;
import org.springframework.stereotype.Service;

/**
 * @author 军哥
 * @version 1.0
 * @description: TODO
 * @date 2024/10/18 10:51
 */

@Service
public class IProductServiceImpl implements IProductService {
    @Override
    public R checkStock(Integer prodId, Integer prodCount) {
        System.out.println("服务器熔断了~~~~~~~~~~~~~~~~");
        return R.ERROR(500, "服务器熔断了");
    }
}
